package cn.usian.mapper;

import cn.usian.pojo.Emp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EmpMapper extends BaseMapper<Emp> {
    List<Emp> findAll();

    @Select("select * from emp where name like '%${value}%'")
    List<Emp> selectByName(String name);
}
